package front2;

/**
 * @author Yuuki
 *
 * Should be the core for every class in this application.
 */
public interface frontRunnable {
	
	
	/**
	 * this function should be implemented in every class except the class with the main function.
	 * The purpose should be to have this method as an "stay here while in this thread method". e.g if we are in a subforum we will be in a loop within
	 * the run function in an instance of the subforum class. If we go deeper down in the hierarchy to the thread class we would change to the run function in the
	 * thread instance etc.
	 * @return depends if we need it for something specific could be changed. temporary an int. 
	 */
	public int run();
	/**
	 * printing all the contents of the current instance of the class, stored in the database.
	 */
	public void print();
}
